public class T {
    foo();<caret>

    int foo(){
        return 42;
    }
}